﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Device
{
    public interface IMachineryTypeServices
    {

        public Task<IEnumerable<MachineryType>> GetAsync(string MachineryTypeCode, string MachineryTypeName);
        public Task<IEnumerable<MachineryType>> GetAllAsync(string MachineryTypeCode, string MachineryTypeName);
        public Task<bool> UpdateAsync(MachineryType model);
        public Task<bool> AddAsync(MachineryType model);

        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);
        public Task<IEnumerable<MachineryType>> GetAllAsync();



    }
}
